﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;

namespace Lead2012.Business
{
	public class FieldInfo
	{
		public int Id { set; get; }
		public string Title { set; get; }
		public string Tag { set; get; }
		public string ValueColumnName { set; get; }
		public string TextColumnName { set; get; }
		public int TypeId { set; get; }
		public string TypeName { set; get; }
		public int OrderId { set; get; }
        public int GroupId { get; set; }
		public string Alignment { set; get; }
		public bool IncludeInView { set; get; }
		public bool Required { set; get; }
		public bool LenderSafe { set; get; }
		public string ToolTip { set; get; }
		public string Visibility { set; get; }
		public bool Filterable { set; get; }
		public bool Printable { set; get; }
		public List<LeadFormTypeInfo> LeadFormTypes { get; set; }
        public List<SelectListItem> DataSource { get; set; }
        public string Value { get; set; }
        public string RegularText { get; set; }
        public string ErrorMessage { get; set; }
        public string ValueId { get; set; }
	}

	public class LeadFormTypeInfo
	{
		public int Id { get; set; }
		public string Name { get; set; }		
	}
}
